package day2.config;

import a.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MyCfg {
    @Bean("hello")
    User addU(){
        return new User();
    }
}
